import os
import codecs

root = os.path.split(__file__)[0]
fileUrl = os.path.join(root,'test_bom.txt')

print("Hello world..")

bom = codecs.BOM_UTF8
bom = bom.decode()
print('bom=',bom,'||')

'''
with open(fileUrl,mode='a',encoding='utf8') as f:
    f.write(bom)
'''
    
with open(fileUrl,mode='r',encoding='utf8') as f:
    print(f.read())

